package main

import (
	"os"
	"strconv"

	"io.zyj/caixukun/pkg/ascii"
)

func main() {
	asciiPath := os.Args[1]
	fpsStr := os.Args[2]
	fps, _ := strconv.Atoi(fpsStr)
	base := 920
	if len(os.Args) >= 4 {
		base, _ = strconv.Atoi(os.Args[3])
	}
	ascii.Play(asciiPath, fps, base)
}
